package com.dudu.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.util.Date;
@Data
public class OrderUserDto {
    private String orderId;
    private long userId;
    private String startPosition;
    private double startLongitude;
    private double startLatitude;
    private String endPosition;
    private double endLongitude;
    private double endLatitude;
    private long taxiTypeId;
    private double distance;
    private double estimatedAmount;
    private double addMoney;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private long status;
    private long regionId;
    private String username;
}
